const Layout = () => import("@/layout/index.vue");

export default {
  path: "/employee",
  name: "Employee",
  component: Layout,
  redirect: "/employee/index",
  meta: {
    icon: "ep:avatar",
    title: "员工管理",
    rank: 5
  },
  children: [
    {
      path: "/employee/index",
      name: "EmployeeList",
      component: () => import("@/views/employee/index.vue"),
      meta: {
        title: "员工",
        showLink: true,
        roles: ["admin", "common"]
      }
    }
  ]
} satisfies RouteConfigsTable;
